<!---总览页面真实内容-->
<template>
  <div class="ele-body">
    <a-tabs default-active-key="1" @change="callbackActivityTab">
      <a-tab-pane key="1" tab="实时数据">
        <cattle-manager-cattlehealthdata-monitor :data="data" />
      </a-tab-pane>

      <a-tab-pane key="2" tab="瘤胃温度数据">
        <cattle-manager-cattlehealthdata-temperature-data :data="data" />
      </a-tab-pane>

      <a-tab-pane key="3" tab="呼吸心跳数据">
        <cattle-manager-cattlehealthdata-heartbeat-data :data="data" />
      </a-tab-pane>

      <a-tab-pane key="4" tab="手持呼吸心跳设备采集记录">
        <cattle-manager-cattlehealthdata-collect-data-plan :data="data" />
      </a-tab-pane>

      <a-tab-pane key="5" tab="疾病数据">
        <cattle-manager-cattle-diseases-data :data="data" />
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>
import CattleManagerCattlehealthdataTemperatureData from './health-cattle-temperature-data.vue';
import CattleManagerCattlehealthdataHeartbeatData from  './health-heartbeat-data.vue';
import CattleManagerCattlehealthdataMonitor from  './health-monitor.vue';
import CattleManagerCattleDiseasesData from './health-cattle-diseases.vue';
import CattleManagerCattlehealthdataCollectDataPlan from './health-beartbeat-collect-data-plan.vue'



export default {
  name: 'CattleManagerCattlehealth',
  components: {
    CattleManagerCattlehealthdataTemperatureData,
    CattleManagerCattlehealthdataHeartbeatData,
    CattleManagerCattlehealthdataMonitor,
    CattleManagerCattleDiseasesData,
    CattleManagerCattlehealthdataCollectDataPlan
  },
  props: {
    data: Object
  },
  data() {
    return {


    };
  },
  methods: {
    callbackActivityTab (index) {
      console.log(index)
    },
  }
};
</script>
